<template>
  <hcTab v-model="activeTab" :head="head" :keep-alive="true"></hcTab>
</template>
<script setup>
import mes from "./mes/index.vue";
import operation from "./operation/index.vue";
import run from "./run/index.vue";
import alarm from "./alarm/index.vue";
import connent from "./connect/index.vue";

import { ref } from "vue";
let head = [
  { id: "alarm", text: "报警日志", component: alarm },
  { id: "operation", text: "操作日志", component: operation },
  { id: "run", text: "运行日志", component: run },
  { id: "mes", text: "MES日志", component: mes },
  { id: "connent", text: "连接日志", component: connent },
];
let activeTab = ref("alarm");
</script>
<style lang="scss" scoped></style>
